package com.yixun.qfbao.model.enums;

/**
 * Created by Administrator on 2017/9/20.
 * 有关partner的常量枚举放在这里
 */
public enum PartnerInfoEnum {

    ACCOUNT_MECHANISM("0","机构-管理员"),
    ACCOUNT_INDIVIDUAL("1","个人"),
    STATUS_DISABLE("0","停用"),
    STATUS_ENABLE("1","启用"),
    USER_ROLE_NOTHING("1","无"),
    USER_ROLE_PERSONAL("1","个人"),
    USER_ROLE_DEPT("1","本部"),
    USER_ROLE_ALL("1","全部"),
    GENDER_MALE("0","男"),
    GENDER_FEMALE("1","女"),
    DEL_FLAG_TRUE("0","没有删除"),
    DEL_FLAG_FALSE("1","已经删除"),
    NO_ROLER("0","无角色"),
    TOURIST_ROLE("-1","游客角色");

    private String code;
    private String name;

     PartnerInfoEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

}
